package com.beans;

import java.util.Date;

/**
 * 新闻信息
 * **/
public class News extends BaseModel {
	private int id;// 编号
	private int classid;// 分类id
	private int userID;// 发布用户id
	private String userName;// 户名
	private int companyID;
	private String companyName;
	private String title;// 标题
	private String content;// 内容
	private Date createTime;// 录入时间
	private int upTimes;// 顶一下
	private int downTimes;// 踩一下
	private int fix;// 推荐
	private int views;// 浏览次数
	private String enabled;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getClassid() {
		return classid;
	}
	public void setClassid(int classid) {
		this.classid = classid;
	}
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getCompanyID() {
		return companyID;
	}
	public void setCompanyID(int companyID) {
		this.companyID = companyID;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public int getUpTimes() {
		return upTimes;
	}
	public void setUpTimes(int upTimes) {
		this.upTimes = upTimes;
	}
	public int getDownTimes() {
		return downTimes;
	}
	public void setDownTimes(int downTimes) {
		this.downTimes = downTimes;
	}
	public int getFix() {
		return fix;
	}
	public void setFix(int fix) {
		this.fix = fix;
	}
	public int getViews() {
		return views;
	}
	public void setViews(int views) {
		this.views = views;
	}
	public String getEnabled() {
		return enabled;
	}
	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}
	
}
